package com.bjsc.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author create by VIC.Huang
 * @date 2018/4/10
 */
@Data
@Accessors(chain = true)
@TableName("t_movie")
public class Movie implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String title;

    @TableField("head_img_path")
    private String headImgPath;

    @TableField("file_path")
    private String filePath;

    @TableField("create_time")
    private String createTime;
}
